#include  <stdio.h>
int main_001(void)
{
	int x;
	scanf_s("%d", &x);
	int n = 0;
	do
	{
		x /= 10;
		n++;
	} while (x > 0);
	printf("%d\n", n);
	return 0;
}